<template>
  <div id="select" class="component-wrap">
    <div class="select-tip">
      <div class="select-tip-content clearfix">
        <p class="total">小计：{{selectLength}}</p>
        <p class="choose">
          筛选
          <span></span>
        </p>
      </div>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {
    name: "Select",
    props: ["selectLength"]
  }
</script>

<style scoped>
  #select .select-tip {
    position: fixed;
    left: 0;
    right: 0;
    top: 4.4rem;
    width: 100%;
    z-index: 2;
  }
  #select .select-tip .select-tip-content {
    width: 100%;
    height: 4.4rem;
    background: #FFFFFF;
    -webkit-box-shadow: 0 0.2rem 0.5rem 0 rgba(166,187,187,0.45);
    -o-box-shadow: 0 0.2rem 0.5rem 0 rgba(166,187,187,0.45);
    -moz-box-shadow: 0 0.2rem 0.5rem 0 rgba(166,187,187,0.45);
    -ms-box-shadow: 0 0.2rem 0.5rem 0 rgba(166,187,187,0.45);
    box-shadow: 0 0.2rem 0.5rem 0 rgba(166,187,187,0.45);
  }
  #select .select-tip .select-tip-content .total {
    float: left;
    height: 4.4rem;
    line-height: 4.4rem;
    font-size: 1.4rem;
    color: #4A4A4A;
    margin-left: 1.5rem;
    font-weight: bold;
  }
  #select .select-tip .select-tip-content .choose {
    float: right;
    height: 4.4rem;
    line-height: 4.4rem;
    color: #999999;
    font-size: 1.4rem;
    margin-right: 3rem;
    position: relative;
  }
  #select .select-tip .select-tip-content .choose span {
    position: absolute;
    top: 50%;
    right: -1.6rem;
    width: 1.2rem;
    height: 1.2rem;
    background: url("../../assets/ic_filter_down@3x.png") no-repeat center center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    margin-top: -0.6rem;
  }
</style>
